<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/jquery.js"></script>
<body>
<form method="post" action="addMe">
    <table border="1px" align="center">
        <tr>
            <td colspan="2"><h3>添加核酸检测信息</h3></td>
        </tr>
        <tr>
            <td>被检测人名字:</td>
            <td><input type="text" name="assayUser" ></td>
        </tr>
        <tr>
            <td>被检测人手机号： </td>
            <td><input type="text" name="phone" ></td>
        </tr>
        <tr>
            <td>被检测人身份证： </td>
            <td><input type="text" name="cardNum" ></td>
        </tr>
        <tr>
            <td>检测机构： </td>
            <td>
                <select name="hospitalId">
                    <option selected value="0" >--请选择--</option>
                    <option th:each="h:${hospName}"   th:value="${h.id}" th:text="${h.name}"/>
                </select>
            </td>
        </tr>
        <tr>
            <td>检测日期： </td>
            <td><input type="date" name="assayTime" ></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="提交">
                <input type="button" value="返回" >
            </td>
        </tr>
    </table>
</form>
<script>
   /* window.location.href="/medicalAssat"*/
</script>
</body>
</html>